<div id="<:$page:><:$pageId:>">
	<:include file="<:$base_dir_iphone:>/top_toolbar.tpl":>
    <:if $products_count eq 0:>
    <div>
    	<h2>Message:</h2>
    	<ul class="rounded">
    		<li>
				<:if $currentView eq "feature":>
				Currently No Feature Product.
	    		<:elseif $currentView eq "favorite":>
	    		You have not yet add any product to your favorite list.
	    		<:elseif $currentView eq "sales":>
	    		Currently no sale product.
	    		<:else:>
	    		No product math your search keyword.
	    		<:/if:>
    		</li>
    	</ul>
    </div>
    <:else:>
    <div class="product-slider">   
        <div class="items">
            <:section name=row loop=$products step=9:>
            <:$index = $smarty.section.row.index:>
                <div>
                    <div class="item">
                        <div class="image-warpp">                        
                            <a class="slideleft" cid="<:$page:><:$pageId:>" index="<:$index:>" onclick="checkLoadedList(this)" href="<:$ctx:>/product/details/?parentId=<:$page:><:$pageId:>&view=<:$currentView:>&back=<:$title:>&index=<:$index:>&sf=<:$sf:>&kw=<:$kw:>&type=<:$type.id:>&catg=<:$products[row].category_id:>&pro=<:$products[row].id:>"><img class="empty" src="<:$ctx:>/images/common/loading_product.png" hsrc="<:$domain:><:$imagesPath:><:$productPath:>/t-<:$products[row].image:>"/></a>
                        </div>
                        <:if $index+1 lt $products_count:>
                        <div class="image-warpp">
                            <a class="slideleft" cid="<:$page:><:$pageId:>" index="<:$index+1:>" onclick="checkLoadedList(this)" href="<:$ctx:>/product/details/?parentId=<:$page:><:$pageId:>&view=<:$currentView:>&back=<:$title:>&index=<:$index+1:>&sf=<:$sf:>&kw=<:$kw:>&type=<:$type.id:>&catg=<:$products[$index+1].category_id:>&pro=<:$products[$index+1].id:>"><img class="empty" src="<:$ctx:>/images/common/loading_product.png" hsrc="<:$domain:><:$imagesPath:><:$productPath:>/t-<:$products[$index+1].image:>"/></a>
                        </div>
                        <:/if:>
                        
                        <:if $index+2 lt $products_count:>
                        <div class="image-warpp">
							<a class="slideleft" cid="<:$page:><:$pageId:>" index="<:$index+2:>" onclick="checkLoadedList(this)" href="<:$ctx:>/product/details/?parentId=<:$page:><:$pageId:>&view=<:$currentView:>&back=<:$title:>&index=<:$index+2:>&sf=<:$sf:>&kw=<:$kw:>&type=<:$type.id:>&catg=<:$products[$index+2].category_id:>&pro=<:$products[$index+2].id:>"><img class="empty" src="<:$ctx:>/images/common/loading_product.png" hsrc="<:$domain:><:$imagesPath:><:$productPath:>/t-<:$products[$index+2].image:>"/></a>
                        </div>
                        <:/if:>
                    </div>
                    
                    <div class="item">                        
                        <:if $index+3 lt $products_count:>
                        <div class="image-warpp">
							<a class="slideleft" cid="<:$page:><:$pageId:>" index="<:$index+3:>" onclick="checkLoadedList(this)" href="<:$ctx:>/product/details/?parentId=<:$page:><:$pageId:>&view=<:$currentView:>&back=<:$title:>&index=<:$index+3:>&sf=<:$sf:>&kw=<:$kw:>&type=<:$type.id:>&catg=<:$products[$index+3].category_id:>&pro=<:$products[$index+3].id:>"><img class="empty" src="<:$ctx:>/images/common/loading_product.png" hsrc="<:$domain:><:$imagesPath:><:$productPath:>/t-<:$products[$index+3].image:>"/></a>
                        </div>
                        <:/if:>
                        
                        <:if $index+4 lt $products_count:>
                        <div class="image-warpp">
							<a class="slideleft" cid="<:$page:><:$pageId:>" index="<:$index+4:>" onclick="checkLoadedList(this)" href="<:$ctx:>/product/details/?parentId=<:$page:><:$pageId:>&view=<:$currentView:>&back=<:$title:>&index=<:$index+4:>&sf=<:$sf:>&kw=<:$kw:>&type=<:$type.id:>&catg=<:$products[$index+4].category_id:>&pro=<:$products[$index+4].id:>"><img class="empty" src="<:$ctx:>/images/common/loading_product.png" hsrc="<:$domain:><:$imagesPath:><:$productPath:>/t-<:$products[$index+4].image:>"/></a>
                        </div>
                        <:/if:>
                        
                        <:if $index+5 lt $products_count:>
                        <div class="image-warpp">
							<a class="slideleft" cid="<:$page:><:$pageId:>" index="<:$index+5:>" onclick="checkLoadedList(this)" href="<:$ctx:>/product/details/?parentId=<:$page:><:$pageId:>&view=<:$currentView:>&back=<:$title:>&index=<:$index+5:>&sf=<:$sf:>&kw=<:$kw:>&type=<:$type.id:>&catg=<:$products[$index+5].category_id:>&pro=<:$products[$index+5].id:>"><img class="empty" src="<:$ctx:>/images/common/loading_product.png" hsrc="<:$domain:><:$imagesPath:><:$productPath:>/t-<:$products[$index+5].image:>"/></a>
                        </div>
                        <:/if:>
                    </div>
                    
                    <div class="item">                        
                        <:if $index+6 lt $products_count:>
                        <div class="image-warpp">
                            <a class="slideleft" cid="<:$page:><:$pageId:>" index="<:$index+6:>" onclick="checkLoadedList(this)" href="<:$ctx:>/product/details/?parentId=<:$page:><:$pageId:>&view=<:$currentView:>&back=<:$title:>&index=<:$index+6:>&sf=<:$sf:>&kw=<:$kw:>&type=<:$type.id:>&catg=<:$products[$index+6].category_id:>&pro=<:$products[$index+6].id:>"><img class="empty" src="<:$ctx:>/images/common/loading_product.png" hsrc="<:$domain:><:$imagesPath:><:$productPath:>/t-<:$products[$index+6].image:>"/></a>
                        </div>
                        <:/if:>
                        
                        <:if $index+7 lt $products_count:>
                        <div class="image-warpp">
                            <a class="slideleft" cid="<:$page:><:$pageId:>" index="<:$index+7:>" onclick="checkLoadedList(this)" href="<:$ctx:>/product/details/?parentId=<:$page:><:$pageId:>&view=<:$currentView:>&back=<:$title:>&index=<:$index+7:>&sf=<:$sf:>&kw=<:$kw:>&type=<:$type.id:>&catg=<:$products[$index+7].category_id:>&pro=<:$products[$index+7].id:>"><img class="empty" src="<:$ctx:>/images/common/loading_product.png" hsrc="<:$domain:><:$imagesPath:><:$productPath:>/t-<:$products[$index+7].image:>"/></a>
                        </div>
                        <:/if:>
                        
                        <:if $index+8 lt $products_count:>
                        <div class="image-warpp">
							<a class="slideleft" cid="<:$page:><:$pageId:>" index="<:$index+8:>" onclick="checkLoadedList(this)" href="<:$ctx:>/product/details/?parentId=<:$page:><:$pageId:>&view=<:$currentView:>&back=<:$title:>&index=<:$index+8:>&sf=<:$sf:>&kw=<:$kw:>&type=<:$type.id:>&catg=<:$products[$index+8].category_id:>&pro=<:$products[$index+8].id:>"><img class="empty" src="<:$ctx:>/images/common/loading_product.png" hsrc="<:$domain:><:$imagesPath:><:$productPath:>/t-<:$products[$index+8].image:>"/></a>
                        </div>
                        <:/if:>
                    </div>
                              
                </div>
            <:/section:>
       </div>
    </div>
    <:/if:>
    <:include file="<:$base_dir_iphone:>/bottom_tabbar.tpl":> 
</div>